package com.uade.empresasdistribuidas.entities;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.PrimaryKeyJoinColumn;
import javax.persistence.Table;

@Entity
@Table(name = "Particulares")
@PrimaryKeyJoinColumn(name="numeroCliente", referencedColumnName="numeroCliente")
public class ParticularDTO extends ClienteDTO {
	
	@Column(name="dni", nullable=false)
	private Integer dni;
	
	@Column(name="apellido", nullable=false, length=30)
	private String apellido;

}
